home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / misc / emu / NESDevTools.lha / CHARlie / CHARlie.readme < prev    next >
Encoding:
Text File  |  1999-05-28  |  2.9 KB  |  63 lines

  1. Short:      NES CHR-ROM Optimizer
  2. Author:     Chris Covell (ccovell@direct.ca)
  3. Uploader:   Chris Covell
  4. Type:       misc/emu
  5.  
  6. CHARlie is a small utility that optimizes or compresses the graphics
  7. data in a character ROM (most commonly for the NES/Famicom) to save
  8. space, to make the graphics storage more efficient, and to free up
  9. unused space in the CHR-ROM if more space is needed.
  10.  
  11. It does this by checking for duplicate tiles in a CHR-ROM file.  It
  12. can then mark the tile with a box, or eliminate it altogether and
  13. compress the remaining tiles.
  14.  
  15. Usage
  16. -----
  17. At the command line, type in CHARlie infile outfile [-c]
  18.  
  19. The infile is the CHR-ROM file that you want to optimize.  It should
  20. be precisely 4096 bytes large, if you're dealing with just one array
  21. of tiles to fit into a single NES pattern table.  Of course, a single
  22. valid CHR-ROM bank is 8192 bytes, but if you use the [-c] option with
  23. a file larger than 4096 bytes, CHARlie will try to fit as much as it
  24. can from that file into the smallest space possible in the outfile.
  25. Not using the [-c] option will not affect the positioning of graphics
  26. in CHR banks that might be 8k or larger.
  27.  
  28. By default, CHARlie will replace a redundant character tile with a
  29. square marker.  You can then use the space provided by all the markers
  30. for more graphics data in your NES programs.  But, if you provide the [-c]
  31. argument on the command line, CHARlie will not use those markers.  Instead,
  32. when it finds a duplicate tile, it will just eliminate that tile, and move
  33. all other tiles up to fill that gap.  This will compress all the tiles into
  34. as little space as possible, freeing up more room at the bottom of the
  35. character array.
  36.  
  37. This program is just a small little utility, so I didn't spend (much) of a
  38. long time coding it.  As such, it is again in my favourite flavour of
  39. spaghetti-code.  The C source code is included, if you want to improve on
  40. it at all.  Go ahead.  Caveat emptor.  Have fun!
  41.  
  42.  
  43. Other things of mine which you should check out are:
  44.  
  45. pix/anim/AmiBanner.lha     ;An animating GIF banner that supports Amiga.
  46. pix/boot/Win95BURN.lha     ;My Windows'95 trasher.  Burn, baby burn!!!
  47. pix/boot/Win95BURN.jpg     ;A JPEG version of that pic.
  48. pix/boot/WinBURN24.lha     ;A 24-bit IFF version of that pic.
  49. pix/wb/BeBoxWBs.lha        ;Some pics of my WB using the BeIcons.
  50. pix/wb/JapanWB.lha         ;A Japanese Workbench. ;-)
  51. pix/wb/HAMBrowse.lha       ;A Pic showing how to browse the WWW in HAM!
  52. pix/icon/BeIcons_2.lha     ;A set of NewIcons in the BeOS style! (and more!)
  53. pix/trace/SidMan*.lha      ;Concept Render of a SID-Playing Walkman.
  54. pix/trace/SidManLCD.lha    ;LCD texture from the SID walkman.
  55. gfx/aga/HUGEBench.lha      ;Some monitor settings for a HUGE Workbench!
  56. text/font/C-64Font.lha     ;A Commodore-64 font with European accents.
  57. misc/emu/Snd2Mid.lha       ;Converts NES PSG songs to MIDI!!
  58.  
  59. And of course, my webpage at http://mypage.direct.ca/c/ccovell/
  60. It has lots of stuff that you might enjoy exploring.
  61.  
  62. See ya!
  63.